
<table cellpadding="4" cellspacing="0" width="100%">
<tbody>
{% for r in dj_neti_result %}
  {% if r.is_addclient %}
    {% if r.is_reboot %}
  <tr><td>
    <span class="neti_rsl_pass">{{r.hostname}}</span>
      {% if r.csl_url %}
    <br><a href="{{r.csl_url}}" target="_blank">CON Access</a>
      {% endif %}
  </td>
  <td class="indicator-msg">
    <span>Done. The configuration is finished on AI server and the machine is rebooting now.</span>
  </td></tr>
    {% else %}
  <tr><td>
    <span class="neti_rsl_warn">{{r.hostname}}</span>
      {% if r.csl_url %}
    <br><a href="{{r.csl_url}}" target="_blank">CON Access</a>
      {% endif %}
  </td>
  <td class="indicator-msg">
    <span>Done without reboot. The configuration is finished on AI server, please manually reboot the machine to network.</span>
  </td></tr>
    {% endif %}
  {% else %}
  <tr><td>
    <span class="neti_rsl_fail">{{r.hostname}}</span>
      {% if r.csl_url %}
    <br><a href="{{r.csl_url}}" target="_blank">CON Access</a>
      {% endif %}
  </td>
  <td class="indicator-msg">
    <span>Failed. Running addclient failed: {{r.addclient_msg}} </span>
  </td></tr>
  {% endif %}
{% endfor %}
</tbody>
</table>
